
//#define TEST_String
#ifdef TEST_String

#include "Win32.String.h"

void main()
{
   Kif::Win32::String *s = new Kif::Win32::String();
   s->Copy(_T("TEST"));
   s->Concat(_T(" More"));
   s->Dispose();

   int i;
   for (i = 0; i < 1000000; i++)
   {
      s->Copy(_T("x"));
      if (s->GetLastResult()->HResult != S_OK)
         break;
      s->Concat(_T("l"));
      if (s->GetLastResult()->HResult != S_OK)
         break;
   }
   s->Dispose();
   delete s;
}

#endif

